package com.wjk.kylin.mall.common.redis.component;

/**
 * 业务类型枚举
 */
public enum BusinessTypeEnum {
    ORDER("001", "order_number", "kylin-mall-order"),
    ;

    private final String value;
    private final String code;
    private final String prefix;

    BusinessTypeEnum(String value, String code, String prefix) {
        this.value = value;
        this.code = code;
        this.prefix = prefix;
    }

    public String getValue() {
        return value;
    }

    public String getCode() {
        return code;
    }

    public String getPrefix() {
        return prefix;
    }
}
